package com.zust.enums;

import lombok.Getter;

/**
 * Created on 2018/3/15.
 *
 * @author Jie
 */
@Getter
public enum ResultEnum {

    SUCCESS(1,"成功"),
    ERROR(2,"错误"),
    ORDER_NOT_EXITS(3,"DIGGSDG");

    private Integer code;

    private String message;

    ResultEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }
}
